home *** CD-ROM | disk | FTP | other *** search
- -------------------------------------------------------------------------------------------------
- -- INITIALISE_Level. Standard level event
- -------------------------------------------------------------------------------------------------
- function EVENTINITIALISE_Level()
- C_RunScript("scripts\\maps\\intromap.lua");
- Game.SetLogos(true);
- -- People.Create(500, -1, -1, -1);
- end;
-
- -------------------------------------------------------------------------------------------------
- -- Level. Standard level event.
- -------------------------------------------------------------------------------------------------
- function EVENT_Level()
- local lev = Random.ZeroTo(Game.performance);
- if lev == 2 then
- Calendar.hour = HOUR_8;
- Camera.SetFlybyMode("gamedata\\cut_scenes\\intro_high.tm");
- elseif lev == 1 then
- Calendar.hour = HOUR_20;
- Camera.SetFlybyMode("gamedata\\cut_scenes\\intro_medium.tm");
- else
- Calendar.hour = HOUR_12;
- Camera.SetFlybyMode("gamedata\\cut_scenes\\intro_low.tm");
- end;
- end;
-